<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
<link rel="stylesheet" href="../schema.css" charset="utf-8" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script>
<title>Composite cheat sheet content file XML format</title>
</head>
<body>

<h3>Composite cheat sheet content file XML format</h3>

<h6 class="CaptionFigColumn">Identifier: </h6>org.eclipse.ui.cheatsheets.composite_schema
<h6 class="CaptionFigColumn">Since: </h6>3.2

<h6 class="CaptionFigColumn">Description: </h6><p>The schema definition for a composite cheat sheet content file. A composite cheat sheet consists of a set of tasks organized into task groups. Each task can be a simple cheat sheet or a user contributed task kind.</p>
<h6 class="CaptionFigColumn">Configuration Markup:</h6>
<p class="SchemaDtd">&lt;!ELEMENT <a name="e.compositeCheatsheet">compositeCheatsheet</a> (<a href="#e.taskGroup">taskGroup</a> | <a href="#e.task">task</a>)&gt;</p>
<p class="SchemaDtd">&lt;!ATTLIST compositeCheatsheet</p>
<p class="SchemaDtdAttlist">name&nbsp;CDATA #REQUIRED&gt;</p>
<p class="ConfigMarkupElementDesc">
The root element of a composite cheatsheet</p>
<br>
<ul class="ConfigMarkupAttlistDesc">
<li><b>name</b> - The name of the composite cheat sheet which will be displayed in large font when the composite cheat sheet is opened.</li>
</ul>
<br><p class="SchemaDtd">&lt;!ELEMENT <a name="e.taskGroup">taskGroup</a> ((<a href="#e.task">task</a> | <a href="#e.taskGroup">taskGroup</a>) , <a href="#e.intro">intro</a>? , <a href="#e.onCompletion">onCompletion</a>? , <a href="#e.dependency">dependency</a>*)&gt;</p>
<p class="SchemaDtd">&lt;!ATTLIST taskGroup</p>
<p class="SchemaDtdAttlist">kind&nbsp;CDATA "set"</p><p class="SchemaDtdAttlist">name&nbsp;CDATA #REQUIRED</p><p class="SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="SchemaDtdAttlist">skip&nbsp;(true | false) "false"&gt;</p>
<p class="ConfigMarkupElementDesc">
A task group represents a collection of related tasks. If the kind is "choice" only one of the child tasks need to be completed. If the kind is "set" or "sequence" all children must be completed.</p>
<br>
<ul class="ConfigMarkupAttlistDesc">
<li><b>kind</b> - The kind of this task group which can be "set", "sequence" or "choice". If the kind is set or sequence this task group is complete when all of its child tasks/task groups have been completed. In addition the subtasks of a sequence must be completed in order. A choice is complete when any of its subtasks has been completed.</li>
<li><b>name</b> - The name of this task group which will be displayed in the task explorer.</li>
<li><b>id</b> - An id for this task group which is required if this task group is referenced by a dependency element.</li>
<li><b>skip</b> - If true this group of tasks may be skipped.</li>
</ul>
<br><p class="SchemaDtd">&lt;!ELEMENT <a name="e.task">task</a> (<a href="#e.intro">intro</a>? , <a href="#e.onCompletion">onCompletion</a>? , <a href="#e.param">param</a>* , <a href="#e.dependency">dependency</a>*)&gt;</p>
<p class="SchemaDtd">&lt;!ATTLIST task</p>
<p class="SchemaDtdAttlist">kind&nbsp;CDATA #REQUIRED</p><p class="SchemaDtdAttlist">name&nbsp;CDATA #REQUIRED</p><p class="SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="SchemaDtdAttlist">skip&nbsp;(true | false) "false"&gt;</p>
<p class="ConfigMarkupElementDesc">
A leaf task within a composite cheat sheet. A task does not have children, but it does have a task editor which shows in the lower/right hand pane of the cheat sheet view. The task kind determines which task editor will be opened, a task kind of "cheatsheet" represents a simple cheatsheet. Other task kinds may be contributed.</p>
<br>
<ul class="ConfigMarkupAttlistDesc">
<li><b>kind</b> - The task kind. A task kind of "cheatsheet" represents a simple cheatsheet, other task kinds can be contributed using the extension point org.eclipse.ui.cheatsheets.cheatSheetContent.</li>
<li><b>name</b> - The name of this task which will be displayed in the task explorer.</li>
<li><b>id</b> - An id for this task group which is required if this task group is referenced by a dependency element.</li>
<li><b>skip</b> - If true this task may be skipped.</li>
</ul>
<br><p class="SchemaDtd">&lt;!ELEMENT <a name="e.param">param</a> EMPTY&gt;</p>
<p class="SchemaDtd">&lt;!ATTLIST param</p>
<p class="SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #REQUIRED</p><p class="SchemaDtdAttlist">value&nbsp;CDATA #REQUIRED&gt;</p>
<p class="ConfigMarkupElementDesc">
A parameter to a task within a composite cheatsheet. Each parameter has a name and value, both of which are strings. A task may have any number of parameters, two parameters for a single task may not share the same name.</p>
<br>
<ul class="ConfigMarkupAttlistDesc">
<li><b>name</b> - The name of this parameter.</li>
<li><b>value</b> - The value of this parameter.</li>
</ul>
<br><p class="SchemaDtd">&lt;!ELEMENT <a name="e.intro">intro</a> (#PCDATA)&gt;</p>
<p class="ConfigMarkupElementDesc">
Contains the text which will be displayed before this task has been started. May contain form text markup.</p>
<br><br>
<p class="SchemaDtd">&lt;!ELEMENT <a name="e.onCompletion">onCompletion</a> (#PCDATA)&gt;</p>
<p class="ConfigMarkupElementDesc">
Contains the text which will be displayed in the completion panel for this task. May contain form text markup.</p>
<br><br>
<p class="SchemaDtd">&lt;!ELEMENT <a name="e.dependency">dependency</a> EMPTY&gt;</p>
<p class="SchemaDtd">&lt;!ATTLIST dependency</p>
<p class="SchemaDtdAttlist">task&nbsp;CDATA #REQUIRED&gt;</p>
<p class="ConfigMarkupElementDesc">
Creates a dependency between two tasks or subtasks.</p>
<br>
<ul class="ConfigMarkupAttlistDesc">
<li><b>task</b> - The id of the task or task group which must be completed before this task can be started.</li>
</ul>

</body>
</html>
